<template>
<div>
    <h3>这是TEST组件</h3>
    <slot :info="infomation" :msg="message"></slot>
</div>
</template>

<script>
export default{
    name:'MyTest',
    data(){
        return{
            // 信息数据
            infomation:{
                phone:'138XXXX66666',
                address:'中国北京',
            },
            message:'abc',
        }
    }
}
</script>

<style></style>